package businessLogic.service;

import java.util.List;
import javax.persistence.EntityManager;
import vo.IValueObject;

/**
 *
 * @author Alexander
 */
public interface IService {
    
    public void persist (vo.IValueObject vo, EntityManager em);

    public IValueObject find(Object id, EntityManager em);
    
    public void update (vo.IValueObject vo, EntityManager em);

    public void delete(Object id, EntityManager em);

    public List<IValueObject> getList(EntityManager em);

}
